package engine.systems.ui.hudText
{
	import ash.core.Component;
	
	public class HUDText extends Component
	{
		public var component:*;
		public var property:String;
		
		public var childName:String = "hud";
		public var round:Boolean;
		public var numDecimals:int;
		
		public function HUDText(component:*, property:String, round:Boolean = true, numDecimals:int = 0)
		{
			this.component 		= component;
			this.property 		= property;
			this.round 			= round;
			this.numDecimals 	= numDecimals;
		}
		
		override public function destroy():void
		{
			this.component = null;
		}
	}
}